how can i say `from beginning to $string` and `from $string to the end` in regexish for php
Posted
by hyilmaz
on Stack Overflow
See other posts from Stack Overflow
or by hyilmaz
Published on 2010-04-08T00:46:49Z
Indexed on
2010/04/08
0:53 UTC
Read the original article
Hit count: 404
Hi,
I want to remove a part from a text till the given string, and remove another part starting from another string in php.
/.+string/i and /anotherstring.+/i didn't work.
© Stack Overflow or respective owner